package com.itheima.mm.service;

import com.itheima.mm.entity.QueryPageBean;
import com.itheima.mm.pojo.Course;

import java.util.List;

public interface CourseService {
    List<Course> findListAll();

    List<Course> findListByPage(QueryPageBean queryPageBean);

    Long findTotal(QueryPageBean queryPageBean);

    boolean delete(Integer courseId);

    void update(Course course);

    void add(Course course);
}
